set title "CPU and GPGPU performance"
set ylabel "Speedup"
set yrange [0:500]
set xlabel "Input Size"
plot '< paste m0cpu1.txt m1cpu.txt' using 1:($2/$4) with linespoints title "Speedup over 1 thread", \
'< paste m0cpu8.txt m1cpu.txt' using 1:($2/$4) with linespoints title "Speedup over 8 threads"
